package com.llf.Service;

import com.llf.Mapper.RoleMapper;
import com.llf.Pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private  RoleMapper roleMapper;
    @Override
    public List<Role> getRoleList() {
        return roleMapper.getRoleList();
    }

    @Override
    public int addRole(Role role) {
        return 0;
    }

    @Override
    public int deleteRoleById(Integer Id) {
        return 0;
    }

    @Override
    public int updateRole(Role role) {
        return 0;
    }

    @Override
    public Role getRoleById(Integer id) {
        return null;
    }

    @Override
    public int roleCodeIsExist(String roleCode) {
        return 0;
    }
}
